﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Metadata;

namespace BeardCoder.Data.Framework.NHibernate.TestBase
{
    public interface IDbTestBase
    {
        IRepository<T> ResolveRepository<T>();
        TService ResolveService<TService>();

        ISession GetSession();
        Configuration GetConfiguration();
        IDictionary<string, IClassMetadata> GetAllClassMetadata();

        void SetUp();
        void TearDown();
    }
}
